import request from '@/utils/request'
export default{
    // 转验收
    getinfor(id){
        return request({
            url: '/project_source/EssentialInformation/oneacceptance/'+id ,
            method: 'post'
        })
    },
    // 外业分发任务
    mission(form){
        return request({
            url: '/mobile/mobile/fieldUser' ,
            method: 'post',
            data: form
        })
    },
    // 获取所有地块号 进行画图
    getare(id){
        return request({
            url: '/mobile/mobile/getZb/'+id ,
            method: 'post'
        })
    },
    // 分页获取地块号
    getland(page,pagesiz,id){
        return request({
            url: '/mobile/mobile/getAddress/'+ page+'/'+pagesiz+'/'+ id,
            method: 'post',
        })
    },
    // 获取分发app外业人员
    getpeople(id){
        return request({
            url: '/mobile/mobile/findFieldUsers/'+ id,
            method: 'post',
        })
    }
}